﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
[System.Serializable]
public class WrlEntity
{
    public string name;       
    public string shapeInfo = "";             //shape文本
    public string diffuseColorInfo = "";   //材质颜色文本
    public string vertexsInfo = "";           //顶点坐标文本
    public string trianglesInfo = "";        //三角形索引文本
    public Vector3 translation = new Vector3(0, 0, 0);
    public Vector3 rotation = new Vector3( 0,0,0);
    public Vector3 scale = new Vector3(1, 1, 1);
    public WrlEntity parentEntity=null;
    public List<WrlEntity> childs = new List<WrlEntity>();
}
